package cn.sczc.jh.client.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

@TableName("t_teams")
public class Teams{
	@TableField(exist = false)
	private static final long serialVersionUID = 1L;
	@TableId(value = "oid")
	private String oid;
	@JsonSerialize(using = ToStringSerializer.class)
	@TableField(value = "tenant_id")
	private Long tenantId;
	@TableField(value = "name")
	private String name;
	@TableField(value = "lon")
	private Double lon;
	@TableField(value = "lat")
	private Double lat;
	@TableField(value = "phone")
	private String phone;
	@TableField(value = "remark")
	private String remark;
	@TableField(exist = false)
	private String lonLat;
	@TableField(value = "create_time")
	private Date createTime;
	@TableField(value = "update_time")
	private Date updateTime;
	public String getOid() {
		return oid;
	}
	public void setOid(String oid) {
		this.oid = oid;
	}
	
	public Long getTenantId() {
		return tenantId;
	}
	public void setTenantId(Long tenantId) {
		this.tenantId = tenantId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Double getLon() {
		return lon;
	}
	public void setLon(Double lon) {
		this.lon = lon;
	}
	public Double getLat() {
		return lat;
	}
	public void setLat(Double lat) {
		this.lat = lat;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public String getLonLat() {
		return lonLat;
	}
	public void setLonLat(String lonLat) {
		this.lonLat = lonLat;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
}
